Devices and methods for setting the configuration of a smart home controller based on air pressure data

ABSTRACT

A method performed at a computer system includes: receiving air pressure data from one or more air pressure sensors in a dwelling of a user; determining, based at least in part on the received air pressure data, a state of operation of a door or window in the dwelling; in accordance with a determination that the door or window is open, setting or sending instructions to set a configuration of a controller for the dwelling to a first configuration, the first configuration taking into account the open door or window; and, 
     in accordance with a determination that the door or window is closed, setting or sending instructions to set the configuration of the controller for the dwelling to a second configuration, distinct from the first configuration, the second configuration taking into account the closed door or window.

TECHNICAL FIELD

This relates generally to setting the configuration of a controller for a dwelling, including but not limited to setting the configuration of the controller for the dwelling based on the air pressure in the dwelling.

BACKGROUND

A home or other dwelling may be equipped with a system of sensors, a controller, and related components. The controller is often set manually to one of a number of predefined configurations, in order to perform various functions, such as providing heating, ventilation and air conditioning (HVAC) and securing the structure against intruders. The data gathered by the system in a given configuration may be used, for example, to shut off unneeded energy use, and/or to warn of potentially dangerous conditions and intruders. However, the configuration being used may need to change as circumstances in the dwelling change. For example, a configuration that has certain sensors always on can lead to false alarms, as well as inconvenience for the occupants of the dwelling. Reducing false alarms and increasing convenience is important for the effectiveness and user satisfaction with such systems. Yet current manual methods for setting the configuration of the controller are inefficient and inconvenient for users.

SUMMARY

Accordingly, there is a need for improved devices and methods for setting the configuration of a home controller. Such methods optionally complement or replace conventional devices and methods for setting the configuration of a home controller.

In accordance with some embodiments, a method is performed at a computing system with one or more processors and memory. The method includes: receiving air pressure data from one or more air pressure sensors in a dwelling of a user; determining, based at least in part on the received air pressure data, a state of operation of a door or window in the dwelling; in accordance with a determination that the door or window is open, setting or sending instructions to set a configuration of a controller for the dwelling to a first configuration, the first configuration taking into account the open door or window; and, in accordance with a determination that the door or window is closed, setting or sending instructions to set the configuration of the controller for the dwelling to a second configuration, distinct from the first configuration, the second configuration taking into account the closed door or window.

In accordance with some embodiments, a computing system includes one or more processors, memory, and one or more programs; the one or more programs are stored in the memory and configured to be executed by the one or more processors and the one or more programs include instructions for performing the operations of the method described above. In accordance with some embodiments, a non-transitory computer readable storage medium has stored therein instructions which when executed by a computing system with one or more processors, cause the computing system to perform the operations of method described above. In accordance with some embodiments, a computing system includes means for performing the operations of the method described above.

Thus, computing systems are provided with more efficient methods for setting the configuration of a home controller, thereby increasing the effectiveness, efficiency, and user satisfaction with such systems. Such methods and devices may complement or replace conventional methods for setting the configuration of a home controller.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the various described embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

FIG. 1 is an exemplary smart home environment in accordance with some embodiments.

FIG. 2 is a block diagram illustrating an exemplary network architecture that includes a smart home network in accordance with some embodiments.

FIG. 3 illustrates a network-level view of an extensible devices and services platform with which the smart home environment of FIG. 1 is integrated, in accordance with some embodiments.

FIG. 4 illustrates an abstracted functional view of the extensible devices and services platform of FIG. 3, with reference to a processing engine as well as devices of the smart home environment, in accordance with some embodiments.

FIG. 5 is a block diagram illustrating an exemplary smart device in accordance with some embodiments.

FIG. 6 is a block diagram illustrating an exemplary computing system in accordance with some embodiments.

FIGS. 7-7A illustrate exemplary graphical user interfaces shown on an electronic device in accordance with some embodiments.

FIGS. 8 and 9A-9C are flow diagrams illustrating methods of setting a configuration of a smart home controller in accordance with some embodiments.

DESCRIPTION OF EMBODIMENTS

As noted above, there is a need for improved devices and methods for setting the configuration of a smart home controller. Here, a computing system sets, or sends instructions to set, a configuration of a controller for a dwelling in accordance with a determination based on air pressure data. Within a respective configuration, HVAC operations and/or security operations may be performed.

Below, FIGS. 1-4 provide an overview of exemplary smart home device networks and capabilities. FIGS. 5-6 are block diagrams of electronic devices included in or in communication with a smart home environment. FIGS. 7A-7B illustrate exemplary user interfaces for displaying a notification associated with a configuration. FIGS. 8 and 9A-9C are flow diagrams illustrating methods of setting a configuration of a smart home controller in accordance with some embodiments.

Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the various described embodiments. However, it will be apparent to one of ordinary skill in the art that the various described embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.

It will also be understood that, although the terms first, second, etc. are, in some instances, used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first configuration could be termed a second configuration, and, similarly, a second configuration could be termed a first configuration, without departing from the scope of the various described embodiments. The first configuration and the second configuration are both configurations, but they are not the same configuration.

The terminology used in the description of the various described embodiments herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the description of the various described embodiments and the appended claims, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

As used herein, the term “if” is, optionally, construed to mean “when” or “upon” or “in response to determining” or “in response to detecting” or “in accordance with a determination that,” depending on the context. Similarly, the phrase “if it is determined” or “if [a stated condition or event] is detected” is, optionally, construed to mean “upon determining” or “in response to determining” or “upon detecting [the stated condition or event]” or “in response to detecting [the stated condition or event]” or “in accordance with a determination that [a stated condition or event] is detected,” depending on the context.

It is to be appreciated that “smart home environments” may refer to smart environments for homes such as a single-family house, but the scope of the present teachings is not so limited. The present teachings are also applicable, without limitation, to duplexes, townhomes, multi-unit apartment buildings, hotels, retail stores, office buildings, industrial buildings, and more generally any living space or work space.

It is also to be appreciated that while the terms user, customer, installer, homeowner, occupant, guest, tenant, landlord, repair person, and the like may be used to refer to the person or persons acting in the context of some particularly situations described herein, these references do not limit the scope of the present teachings with respect to the person or persons who are performing such actions. Thus, for example, the terms user, customer, purchaser, installer, subscriber, and homeowner may often refer to the same person in the case of a single-family residential dwelling, because the head of the household is often the person who makes the purchasing decision, buys the unit, and installs and configures the unit, and is also one of the users of the unit. However, in other scenarios, such as a landlord-tenant environment, the customer may be the landlord with respect to purchasing the unit, the installer may be a local apartment supervisor, a first user may be the tenant, and a second user may again be the landlord with respect to remote control functionality. Importantly, while the identity of the person performing the action may be germane to a particular advantage provided by one or more of the embodiments, such identity should not be construed in the descriptions that follow as necessarily limiting the scope of the present teachings to those particular individuals having those particular identities.

FIG. 1 is an exemplary smart home environment 100 in accordance with some embodiments. Smart home environment 100 includes a structure 150 (e.g., a house, office building, garage, or mobile home) with various integrated devices. It will be appreciated that devices may also be integrated into a smart home environment 100 that does not include an entire structure 150, such as an apartment, condominium, or office space. Further, the smart home environment 100 may control and/or be coupled to devices outside of the actual structure 150. Indeed, several devices in the smart home environment 100 need not be physically within the structure 150. For example, a device controlling a pool heater 114 or irrigation system 116 may be located outside of structure 150.

The depicted structure 150 includes a plurality of rooms 152, separated at least partly from each other via walls 154. The walls 154 may include interior walls or exterior walls. Each room may further include a floor 156 and a ceiling 158. Devices may be mounted on, integrated with and/or supported by a wall 154, floor 156 or ceiling 158.

In some embodiments, the integrated devices of the smart home environment 100 include intelligent, multi-sensing, network-connected devices, that integrate seamlessly with each other in a smart home network (e.g., 202 FIG. 2) and/or with a central server or a cloud-computing system to provide a variety of useful smart home functions. The smart home environment 100 may include one or more intelligent, multi-sensing, network-connected thermostats 102 (hereinafter referred to as “smart thermostats 102”), one or more intelligent, network-connected, multi-sensing hazard detection units 104 (hereinafter referred to as “smart hazard detectors 104”), and one or more intelligent, multi-sensing, network-connected entryway interface devices 106 (hereinafter referred to as “smart doorbells 106”). In some embodiments, the one or more smart thermostats 102 detect ambient climate characteristics (e.g., temperature and/or humidity) and control a HVAC system 103 accordingly. The one or more smart hazard detectors 104 may detect the presence of a hazardous substance or a substance indicative of a hazardous substance (e.g., smoke, fire, and/or carbon monoxide). The smart doorbell 106 may detect a person's approach to or departure from a location (e.g., an outer door), control doorbell functionality, announce a person's approach or departure via audio or visual means, and/or control settings on a security system (e.g., to activate or deactivate the security system when occupants go and come).

In some embodiments, the smart home environment 100 includes one or more intelligent, multi-sensing, network-connected barometers or other devices 172 for measuring air or atmospheric pressure and/or changes in the air/atmospheric pressure (hereinafter referred to as “smart barometers 172”). For example, structure 150 as illustrated in FIG. 1 includes smart barometers 172-1 and 172-2. A smart barometer 172 may be mounted on any suitable location in the structure 150 (e.g., on the wall in a room). A smart barometer 172 measures the air pressure and/or changes in air pressure in a room, such as air pressure and air pressure changes caused by opening and closing doors and windows. In some embodiments, based on measurements made by the smart barometers 172, the state of operation (i.e., open or closed) of doors and/or windows in the structure 150 may be determined. In some embodiments, each room in the structure 150 has an associated smart barometer 172. In some other embodiments, one or more smart barometers 172 are placed at strategic or otherwise suitable locations in the structure 150.

In some embodiments, the smart home environment 100 includes one or more intelligent, multi-sensing, network-connected wall switches 108 (hereinafter referred to as “smart wall switches 108”), along with one or more intelligent, multi-sensing, network-connected wall plug interfaces 110 (hereinafter referred to as “smart wall plugs 110”). The smart wall switches 108 may detect ambient lighting conditions, detect room-occupancy states, and control a power and/or dim state of one or more lights. In some instances, smart wall switches 108 may also control a power state or speed of a fan, such as a ceiling fan. The smart wall plugs 110 may detect occupancy of a room or enclosure and control supply of power to one or more wall plugs (e.g., such that power is not supplied to the plug if nobody is at home).

In some embodiments, the smart home environment 100 of FIG. 1 includes a plurality of intelligent, multi-sensing, network-connected appliances 112 (hereinafter referred to as “smart appliances 112”), such as refrigerators, stoves, ovens, televisions, washers, dryers, lights, stereos, intercom systems, garage-door openers, floor fans, ceiling fans, wall air conditioners, pool heaters, irrigation systems, security systems, space heaters, window AC units, motorized duct vents, and so forth. In some embodiments, when plugged in, an appliance may announce itself to the smart home network, such as by indicating what type of appliance it is, and it may automatically integrate with the controls of the smart home. Such communication by the appliance to the smart home may be facilitated by either a wired or wireless communication protocol. The smart home may also include a variety of non-communicating legacy appliances 140, such as old conventional washer/dryers, refrigerators, and the like, which may be controlled by smart wall plugs 110. The smart home environment 100 may further include a variety of partially communicating legacy appliances 142, such as infrared (“IR”) controlled wall air conditioners or other IR-controlled devices, which may be controlled by IR signals provided by the smart hazard detectors 104 or the smart wall switches 108.

In some embodiments, the smart home environment 100 includes one or more network-connected cameras 118 that are configured to provide video monitoring and security in the smart home environment 100. The cameras 118 may be used to determine occupancy of the structure 150 and/or particular rooms 152 in the structure 150, and thus may act as occupancy sensors or occupancy detection devices. For example, video captured by the cameras 118 may be processed to identify the presence of an occupant in the structure 150 (e.g., in a room 152). Specific individuals and/or categories of individuals (e.g., adult, child, etc.) may be identified based, for example, on their appearance (e.g., height, face) and/or movement (e.g., their walk/gate). The smart home environment 100 may additionally or alternatively include one or more other occupancy sensors or occupancy detection devices (e.g., the smart doorbell 106, touch screens, IR sensors, microphones, ambient light sensors, motion detectors or sensors, smart nightlights 170, optical sensors, audio sensors, touch sensors, etc.). In some embodiments, the smart home environment 100 includes radio-frequency identification (RFID) readers (e.g., in each room 152 or a portion thereof) that determine occupancy based on RFID tags located on or embedded in occupants. For example, RFID readers may be integrated into the smart hazard detectors 104. In some embodiments, the various sensors and devices that detect or determine occupancy generate occupancy data and transmit the occupancy data to other devices (e.g., a smart home controller, other smart device) in the smart home environment 100 or to the smart home provider server system 164. The occupancy data includes one or more of: motion data, video audio data, touch data, and RFID presence data.

The smart home environment 100 may also include communication with devices outside of the physical home but within a proximate geographical range of the home. For example, the smart home environment 100 may include a pool heater monitor 114 that communicates a current pool temperature to other devices within the smart home environment 100 and/or receives commands for controlling the pool temperature. Similarly, the smart home environment 100 may include an irrigation monitor 116 that communicates information regarding irrigation systems within the smart home environment 100 and/or receives control information for controlling such irrigation systems.

By virtue of network connectivity, one or more of the smart home devices of FIG. 1 may further allow a user to interact with the device even if the user is not proximate to the device. For example, a user may communicate with a device using a computer (e.g., a desktop computer, laptop computer, or tablet) or other portable electronic device (e.g., a mobile phone, such as a smart phone) 166. A webpage or application may be configured to receive communications from the user and control the device based on the communications and/or to present information about the device's operation to the user. For example, the user may view a current set point temperature for a device and adjust it using a computer. The user may be in the structure during this remote communication or outside the structure.

As discussed above, users may control smart devices in the smart home environment 100 using a network-connected computer or portable electronic device 166. In some examples, some or all of the occupants (e.g., individuals who live in the home) may register their device 166 with the smart home environment 100. Such registration may be made at a central server to authenticate the occupant and/or the device as being associated with the home and to give permission to the occupant to use the device to control the smart devices in the home. An occupant may use their registered device 166 to remotely control the smart devices of the home, such as when the occupant is at work or on vacation. The occupant may also use their registered device to control the smart devices when the occupant is actually located inside the home, such as when the occupant is sitting on a couch inside the home. It should be appreciated that instead of or in addition to registering devices 166, the smart home environment 100 may make inferences about which individuals live in the home and are therefore occupants and which devices 166 are associated with those individuals. As such, the smart home environment 100 may “learn” who is an occupant and permit the devices 166 associated with those individuals to control the smart devices of the home.

In some embodiments, one or more specific occupants are registered with the smart home environment 100 and categorized. For example, an occupant may be registered and assigned to one or more occupant categories (e.g., adult, child, disabled, elderly, etc.). The registration of an occupant may include detection by a camera 118 and corresponding data input using a device 166 to identify and categorize the occupant. The cameras 118 and other occupancy sensors and occupancy detection devices may be used to detect the specific occupants.

In some embodiments, in addition to containing processing and sensing capabilities, devices 102, 104, 106, 108, 110, 112, 114, 116, 118, 170, and/or 172 (collectively referred to as “the smart devices”) are capable of data communications and information sharing with other smart devices, a central server or cloud-computing system, and/or other devices that are network-connected. Data communications may be carried out using any of a variety of custom or standard wireless protocols (e.g., IEEE 802.15.4, Wi-Fi, ZigBee, 6LoWPAN, Thread, Z-Wave, Bluetooth Smart, ISA100.11a, WirelessHART, MiWi, etc.) and/or any of a variety of custom or standard wired protocols (e.g., Ethernet, HomePlug, etc.), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.

In some embodiments, the smart devices serve as wireless or wired repeaters. In some embodiments, a first one of the smart devices communicates with a second one of the smart devices via a wireless router. The smart devices may further communicate with each other via a connection (e.g., network interface 160) to a network, such as the Internet 162. Through the Internet 162, the smart devices may communicate with a smart home provider server system 164 (also called a central server system and/or a cloud-computing system herein). The smart home provider server system 164 may be associated with a manufacturer, support entity, or service provider associated with the smart device(s). In some embodiments, a user is able to contact customer support using a smart device itself rather than needing to use other communication means, such as a telephone or Internet-connected computer. In some embodiments, software updates are automatically sent from the smart home provider server system 164 to smart devices (e.g., when available, when purchased, or at routine intervals).

In some embodiments, the smart home environment 100 is set to one of multiple configurations. A configuration of the smart home environment 100 includes one or more settings and/or operations, including, for example, enabling and/or disabling particular sensors or smart devices, turning on or off the heating, ventilation, and air condition (HVAC) system, adjusting settings (e.g., temperature) on the HVAC system, issuing security alerts and alarms, and so on. In some embodiments, the smart home environment 100 is set to a configuration by setting a controller for the structure 150 to the configuration. The controller set to the configuration performs the operations and activates the settings corresponding to the set configuration. The configuration may be set automatically by a device in the smart home environment 100 or manually by a user. In some embodiments, one or more users are sent a notification when the smart home environment 100 is set to a configuration.

FIG. 2 is a block diagram illustrating an exemplary network architecture 200 that includes a smart home network 202 in accordance with some embodiments. In some embodiments, the smart devices 204 in the smart home environment 100 (e.g., devices 102, 104, 106, 108, 110, 112, 114, 116, 118, 170, and/or 172) combine to create a mesh network in smart home network 202. In some embodiments, one or more smart devices 204 in the smart home network 202 operate as a smart home controller. In some embodiments, a smart home controller has more computing power than other smart devices. In some embodiments, a smart home controller processes inputs (e.g., from smart devices 204, electronic device 166, occupancy sensors, occupancy detection devices, and/or smart home provider server system 164) and sends commands (e.g., to smart devices 204 in the smart home network 202) to control operation of the smart home environment 100. In some embodiments, some of the smart devices 204 in the smart home network 202 (e.g., in the mesh network) are “spokesman” nodes (e.g., 204-1) and others are “low-powered” nodes (e.g., 204-9). Some of the smart devices in the smart home environment 100 are battery powered, while others have a regular and reliable power source, such as by connecting to wiring (e.g., to 120V line voltage wires) behind the walls 154 of the smart home environment. The smart devices that have a regular and reliable power source are referred to as “spokesman” nodes. These nodes are typically equipped with the capability of using a wireless protocol to facilitate bidirectional communication with a variety of other devices in the smart home environment 100, as well as with the smart home provider server system 164. In some embodiments, one or more “spokesman” nodes operate as a smart home controller. On the other hand, the devices that are battery powered are the “low-power” nodes. These nodes tend to be smaller than spokesman nodes and typically only communicate using wireless protocols that require very little power, such as Zigbee, 6LoWPAN, etc.

In some embodiments, some low-power nodes are incapable of bidirectional communication. These low-power nodes send messages, but they are unable to “listen”. Thus, other devices in the smart home environment 100, such as the spokesman nodes, cannot send information to these low-power nodes.

In some embodiments, some low-power nodes are capable of only a limited bidirectional communication. For example, other devices are able to communicate with the low-power nodes only during a certain time period.

As described, in some embodiments, the smart devices serve as low-power and spokesman nodes to create a mesh network in the smart home environment 100. In some embodiments, individual low-power nodes in the smart home environment regularly send out messages regarding what they are sensing, and the other low-powered nodes in the smart home environment—in addition to sending out their own messages—forward the messages, thereby causing the messages to travel from node to node (i.e., device to device) throughout the smart home network 202. In some embodiments, the spokesman nodes in the smart home network 202, which are able to communicate using a relatively high-power communication protocol, such as IEEE 802.11, are able to switch to a relatively low-power communication protocol, such as IEEE 802.15.4, to receive these messages, translate the messages to other communication protocols, and send the translated messages to other spokesman nodes and/or the smart home provider server system 164 (using, e.g., the relatively high-power communication protocol). Thus, the low-powered nodes using low-power communication protocols are able to send and/or receive messages across the entire smart home network 202, as well as over the Internet 162 to the smart home provider server system 164. In some embodiments, the mesh network enables the smart home provider server system 164 to regularly receive data from most or all of the smart devices in the home, make inferences based on the data, facilitate state synchronization across devices within and outside of the smart home network 202, and send commands back to one or more of the smart devices to perform tasks in the smart home environment.

As described, the spokesman nodes and some of the low-powered nodes are capable of “listening.” Accordingly, users, other devices, and/or the smart home provider server system 164 may communicate control commands to the low-powered nodes. For example, a user may use the electronic device 166 (e.g., a smart phone) to send commands over the Internet to the smart home provider server system 164, which then relays the commands to one or more spokesman nodes in the smart home network 202. The spokesman nodes may use a low-power protocol to communicate the commands to the low-power nodes throughout the smart home network 202, as well as to other spokesman nodes that did not receive the commands directly from the smart home provider server system 164.

In some embodiments, a smart nightlight 170 (FIG. 1), which is an example of a smart device 204, is a low-power node. In addition to housing a light source, the smart nightlight 170 houses an occupancy sensor, such as an ultrasonic or passive IR sensor, and an ambient light sensor, such as a photo resistor or a single-pixel sensor that measures light in the room. In some embodiments, the smart nightlight 170 is configured to activate the light source when its ambient light sensor detects that the room is dark and when its occupancy sensor detects that someone is in the room. In other embodiments, the smart nightlight 170 is simply configured to activate the light source when its ambient light sensor detects that the room is dark. Further, in some embodiments, the smart nightlight 170 includes a low-power wireless communication chip (e.g., a ZigBee chip) that regularly sends out messages regarding the occupancy of the room and the amount of light in the room, including instantaneous messages coincident with the occupancy sensor detecting the presence of a person in the room. As mentioned above, these messages may be sent wirelessly (e.g., using the mesh network) from node to node (i.e., smart device to smart device) within the smart home network 202 as well as over the Internet 162 to the smart home provider server system 164.

Other examples of low-power nodes include battery-operated versions of the smart hazard detectors 104. These smart hazard detectors 104 are often located in an area without access to constant and reliable power and may include any number and type of sensors, such as smoke/fire/heat sensors, carbon monoxide/dioxide sensors, occupancy/motion sensors, ambient light sensors, temperature sensors, humidity sensors, and the like. Furthermore, smart hazard detectors 104 may send messages that correspond to each of the respective sensors to the other devices and/or the smart home provider server system 164, such as by using the mesh network as described above.

Examples of spokesman nodes include smart doorbells 106, smart thermostats 102, smart wall switches 108, and smart wall plugs 110. These devices 102, 106, 108, and 110 are often located near and connected to a reliable power source, and therefore may include more power-consuming components, such as one or more communication chips capable of bidirectional communication in a variety of protocols.

In some embodiments, the smart home environment 100 includes service robots 168 (FIG. 1) that are configured to carry out, in an autonomous manner, any of a variety of household tasks.

FIG. 3 illustrates a network-level view of an extensible devices and services platform with which the smart home environment of FIG. 1 is integrated, in accordance with some embodiments. The extensible devices and services platform 300 includes smart home provider server system 164. Each of the intelligent, network-connected devices described with reference to FIG. 1 (e.g., 102, 104, 106, 108, 110, 112, 114, 116, 118, 170, and 172, identified simply as “devices” in FIGS. 2-4) may communicate with the smart home provider server system 164. For example, a connection to the Internet 162 may be established either directly (for example, using 3G/4G connectivity to a wireless carrier), or through a network interface 160 (e.g., a router, switch, gateway, hub, or an intelligent, dedicated whole-home controller node), or through any combination thereof.

In some embodiments, the devices and services platform 300 communicates with and collects data from the smart devices of the smart home environment 100. In addition, in some embodiments, the devices and services platform 300 communicates with and collects data from a plurality of smart home environments across the world. For example, the smart home provider server system 164 collects home data 302 from the devices of one or more smart home environments 100, where the devices may routinely transmit home data or may transmit home data in specific instances (e.g., when a device queries the home data 302). Exemplary collected home data 302 includes, without limitation, power consumption data, occupancy data, HVAC settings and usage data, carbon monoxide levels data, carbon dioxide levels data, volatile organic compounds levels data, sleeping schedule data, cooking schedule data, inside and outside temperature humidity data, television viewership data, inside and outside noise level data, air/atmospheric pressure data, video data, smart door lock state data, user/occupant location data, etc.

In some embodiments, the smart home provider server system 164 provides one or more services 304 to smart homes and/or third parties. Exemplary services 304 include, without limitation, software updates, customer support, sensor data collection/logging, remote access, remote or distributed control, and/or use suggestions (e.g., based on collected home data 302) to improve performance, reduce utility cost, increase safety, etc. In some embodiments, data associated with the services 304 is stored at the smart home provider server system 164, and the smart home provider server system 164 retrieves and transmits the data at appropriate times (e.g., at regular intervals, upon receiving a request from a user, etc.).

In some embodiments, the extensible devices and services platform 300 includes a processing engine 306, which may be concentrated at a single server or distributed among several different computing entities without limitation. In some embodiments, the processing engine 306 includes engines configured to receive data from the devices of smart home environments 100 (e.g., via the Internet 162 and/or a network interface 160), to index the data, to analyze the data and/or to generate statistics based on the analysis or as part of the analysis. In some embodiments, the analyzed data is stored as derived home data 308.

Results of the analysis or statistics may thereafter be transmitted back to the device that provided home data used to derive the results, to other devices, to a server providing a webpage to a user of the device, or to other non-smart device entities. In some embodiments, use statistics, use statistics relative to use of other devices, use patterns, and/or statistics summarizing sensor readings are generated by the processing engine 306 and transmitted. The results or statistics may be provided via the Internet 162. In this manner, the processing engine 306 may be configured and programmed to derive a variety of useful information from the home data 302. A single server may include one or more processing engines.

The derived home data 308 may be used at different granularities for a variety of useful purposes, ranging from explicit programmed control of the devices on a per-home, per-neighborhood, or per-region basis (for example, demand-response programs for electrical utilities), to the generation of inferential abstractions that may assist on a per-home basis (for example, an inference may be drawn that the homeowner has left for vacation and so security detection equipment may be put on heightened sensitivity), to the generation of statistics and associated inferential abstractions that may be used for government or charitable purposes. For example, processing engine 306 may generate statistics about device usage across a population of devices and send the statistics to device users, service providers or other entities (e.g., entities that have requested the statistics and/or entities that have provided monetary compensation for the statistics).

In some embodiments, to encourage innovation and research and to increase products and services available to users, the devices and services platform 300 exposes a range of application programming interfaces (APIs) 310 to third parties, such as charities 314, governmental entities 316 (e.g., the Food and Drug Administration or the Environmental Protection Agency), academic institutions 318 (e.g., university researchers), businesses 320 (e.g., providing device warranties or service to related equipment, targeting advertisements based on home data), utility companies 324, and other third parties. The APIs 310 are coupled to and permit third-party systems to communicate with the smart home provider server system 164, including the services 304, the processing engine 306, the home data 302, and the derived home data 308. In some embodiments, the APIs 310 allow applications executed by the third parties to initiate specific data processing tasks that are executed by the smart home provider server system 164, as well as to receive dynamic updates to the home data 302 and the derived home data 308.

For example, third parties may develop programs and/or applications, such as web applications or mobile applications, that integrate with the smart home provider server system 164 to provide services and information to users. Such programs and applications may be, for example, designed to help users reduce energy consumption, to preemptively service faulty equipment, to prepare for high service demands, to track past service performance, etc., and/or to perform other beneficial functions or tasks.

FIG. 4 illustrates an abstracted functional view 400 of the extensible devices and services platform 300 of FIG. 3, with reference to a processing engine 306 as well as devices of the smart home environment, in accordance with some embodiments. Even though devices situated in smart home environments will have a wide variety of different individual capabilities and limitations, the devices may be thought of as sharing common characteristics in that each device is a data consumer 402 (DC), a data source 404 (DS), a services consumer 406 (SC), and a services source 408 (SS). Advantageously, in addition to providing control information used by the devices to achieve their local and immediate objectives, the extensible devices and services platform 300 may also be configured to use the large amount of data that is generated by these devices. In addition to enhancing or optimizing the actual operation of the devices themselves with respect to their immediate functions, the extensible devices and services platform 300 may be directed to “repurpose” that data in a variety of automated, extensible, flexible, and/or scalable ways to achieve a variety of useful objectives. These objectives may be predefined or adaptively identified based on, e.g., usage patterns, device efficiency, and/or user input (e.g., requesting specific functionality).

FIG. 4 shows processing engine 306 as including a number of processing paradigms 410. In some embodiments, processing engine 306 includes a managed services paradigm 410 a that monitors and manages primary or secondary device functions. The device functions may include ensuring proper operation of a device given user inputs, estimating that (e.g., and responding to an instance in which) an intruder is or is attempting to be in a dwelling, detecting a failure of equipment coupled to the device (e.g., a light bulb having burned out), implementing or otherwise responding to energy demand response events, enabling or disabling one or more sensors, changing the state of a smart door lock 172, providing a configuration set notification, and/or alerting a user of a current or predicted future event or characteristic. In some embodiments, processing engine 306 includes an advertising/communication paradigm 410 b that estimates characteristics (e.g., demographic information), desires and/or products of interest of a user based on device usage. Services, promotions, products or upgrades may then be offered or automatically provided to the user. In some embodiments, processing engine 306 includes a social paradigm 410 c that uses information from a social network, provides information to a social network (for example, based on device usage), and/or processes data associated with user and/or device interactions with the social network platform. For example, a user's status as reported to their trusted contacts on the social network may be updated to indicate when the user is home based on light detection, security system inactivation or device usage detectors. As another example, a user may be able to share device-usage statistics with other users. In yet another example, a user may share HVAC settings that result in low power bills and other users may download the HVAC settings to their smart thermostat 102 to reduce their power bills.

In some embodiments, processing engine 306 includes a challenges/rules/compliance/rewards paradigm 410 d that informs a user of challenges, competitions, rules, compliance regulations and/or rewards and/or that uses operation data to determine whether a challenge has been met, a rule or regulation has been complied with and/or a reward has been earned. The challenges, rules, and/or regulations may relate to efforts to conserve energy, to live safely (e.g., reducing exposure to toxins or carcinogens), to conserve money and/or equipment life, to improve health, etc. For example, one challenge may involve participants turning down their thermostat by one degree for one week. Those participants that successfully complete the challenge are rewarded, such as with coupons, virtual currency, status, etc. Regarding compliance, an example involves a rental-property owner making a rule that no renters are permitted to access certain owner's rooms. The devices in the room having occupancy sensors may send updates to the owner when the room is accessed.

In some embodiments, processing engine 306 integrates or otherwise uses extrinsic information 412 from extrinsic sources to improve the functioning of one or more processing paradigms. Extrinsic information 412 may be used to interpret data received from a device, to determine a characteristic of the environment near the device (e.g., outside a structure that the device is enclosed in), to determine services or products available to the user, to identify a social network or social-network information, to determine contact information of entities (e.g., public-service entities such as an emergency-response team, the police or a hospital) near the device, to identify statistical or environmental conditions, trends or other information associated with a home or neighborhood, and so forth.

FIG. 5 is a block diagram illustrating an exemplary smart device 204 in accordance with some embodiments (e.g., a smart barometer 172). The smart device 204 typically includes one or more processing units (processors or cores) 502, one or more network or other communications interfaces 504, memory 506, and one or more communication buses 508 for interconnecting these components. The communication buses 508 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. In some embodiments, the smart device 204 includes a user interface 510. The user interface 510 may include a display device 512. In some embodiments, the device 204 includes one or more inputs 516 (e.g., input buttons, a keyboard, a mouse, and/or other input). In some embodiments, the smart device 204 includes a 3D gesture sensor for touchless gesture control. Alternatively or in addition, in some embodiments, the display device 512 includes a touch-sensitive surface 514, in which case the display device 512 is a touch-sensitive display. In some embodiments, the user interface 510 also includes an audio output device 518, such as speakers or an audio output connection connected to speakers, earphones, or headphones. Furthermore, some smart devices 204 use a microphone and voice recognition to supplement or replace the keyboard. Optionally, the smart device 204 includes an audio input device 520 (e.g., a microphone) to capture audio (e.g., speech from a user, sounds caused by one or more occupants). Optionally, the smart device 204 includes a location detection device 521, such as a GPS (Global Positioning System), BLE (Bluetooth Low Energy), or other geo-location receiver, for determining the location of the smart device 204. The smart device 204 also optionally includes an image/video capture device 524 (e.g., a camera 118), which may serve as an occupancy sensor.

In some embodiments, the smart device 204 includes one or more air pressure sensors 522 that detect and measure air/atmospheric pressure and/or changes in air/atmospheric pressure. In some embodiments, the smart device 204 includes one or more occupancy sensors in addition to or as an alternative to the image/video capture device 524 and/or audio input device 520 (e.g., a motion sensor, an ambient light sensor, and/or a touch sensor).

Memory 506 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 506 may optionally include one or more storage devices remotely located from the processor(s) 502. Memory 506, or alternately the non-volatile memory device(s) within memory 506, includes a non-transitory computer readable storage medium. In some embodiments, memory 506 or the computer readable storage medium of memory 506 stores the following programs, modules and data structures, or a subset or superset thereof:

-   -   an operating system 526 that includes procedures for handling         various basic system services and for performing hardware         dependent tasks;     -   a network communication module 528 that is used for connecting         the smart device 204 to other computers via the one or more         communication network interfaces 504 (wired or wireless) and one         or more communication networks, such as smart home network 202         (e.g., a mesh network), the Internet, cellular telephone         networks, mobile data networks, other wide area networks, local         area networks, metropolitan area networks, and so on;     -   an image/video capture module 530 (e.g., a camera module) for         processing a respective image or video captured by the         image/video capture device 524, where the respective image or         video may be sent or streamed (e.g., by a client application         module 540) to the smart home network 202 and/or smart home         provider server system 164;     -   an audio input module 532 (e.g., a microphone module) for         processing audio captured by the audio input device 520, where         the respective audio may be sent or streamed (e.g., by a client         application module 540) to the smart home network 202 and/or         smart home provider server system 164;     -   an air pressure data module 534 for processing air/atmospheric         pressure data captured by the air pressure sensor 522, where the         data may be sent or streamed through the smart home network 202         to a portable electronic device 166, smart home provider server         system 164, other smart device 204, and/or other computing         system;     -   a location detection module 538 (e.g., a GPS, Wi-Fi, or hybrid         positioning module) for determining the location of the smart         device 204 (e.g., using the location detection device 522) and         providing this location information to the smart home network         202 and/or smart home provider server system 164; and     -   one or more application modules 540, including the following         modules (or sets of instructions), or a subset or superset         thereof:         -   a smart home module 542 for providing an interface to a             smart home application (e.g., a stand-alone application or             an application in communication with another device in smart             home network 202 and/or smart home provider server system             164) and related features;         -   a door/window state determination module 544 for determining             the state of operation of doors and/or windows in the             structure 150 in which the smart device 204 is located;         -   an open door/window notification module 545 to send             notifications to a user when a door or window is determined             to be open;         -   a configuration module 546 to set the smart home environment             100 to any one of multiple configurations, automatically             based at least on air/atmospheric pressure and/or changes to             air/atmospheric pressure, and/or manually based on a user             command;         -   a configuration notification module 548 to send             notifications to a user when a configuration of the smart             home environment 100 changes; and/or         -   configuration data 550 to store data corresponding to             respective configurations (e.g., a first configuration             550-1, a second configuration 550-2, and so on), including             which respective configuration is the currently set             configuration, criteria or thresholds for activating a             respective configuration, and settings and operations             associated with a respective configuration (e.g., turning on             or off the HVAC system, setting the HVAC system to a             specified temperature, enabling alarms or sensors for             security monitoring and alerts, sending a notification,             etc.).

It should be appreciated that, depending on the particular smart device 204, one or more of the components or modules described above may be omitted from the smart device 204.

FIG. 6 is a block diagram illustrating an exemplary computing system 600 in accordance with some embodiments. In some embodiments, the computing system 600 is a computer or other portable electronic device 166. In some embodiments, the computing system 600 is the smart home provider server system 164 or another server system outside of the structure 150. In some embodiments, the computing system 600 is a stand-alone controller (e.g., located in the structure 150) that is distinct from the smart devices 204 and the smart home provider server system 164. In some embodiments, the computing system 600 is a smart device 204 (e.g., with additional components as shown in FIG. 5) or a collection of multiple smart devices 204. For example, the computing system 600 may have a housing that contains the components shown in FIG. 6 and also contains a smart barometer 172, and/or at least one occupancy sensor (e.g., a camera 118, audio input device 520, motion sensor, ambient light sensor, touch sensor, or other occupancy sensor). For example, the computing system 600, a camera 118, and a smart barometer 172 are contained in a single enclosure.

The computing system 600 typically includes one or more processing units (processors or cores) 602, one or more network or other communications interfaces 604, memory 606, and one or more communication buses 608 for interconnecting these components. The communication buses 608 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. In some embodiments, the computing system 600 includes a user interface 605 (e.g., which is analogous to the user interface 510, FIG. 5).

Memory 606 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory 606 may optionally include one or more storage devices remotely located from the processor(s) 602. Memory 606, or alternately the non-volatile memory device(s) within memory 606, includes a non-transitory computer readable storage medium. In some embodiments, memory 606 or the computer readable storage medium of memory 606 stores the following programs, modules and data structures, or a subset or superset thereof:

-   -   an operating system 610 that includes procedures for handling         various basic system services and for performing         hardware-dependent tasks;     -   a network communication module 612 that is used for connecting         the computing system 600 to other computers via the one or more         communication network interfaces 604 (wired or wireless) and one         or more communication networks, such as smart home network 202         (e.g., a mesh network), the Internet 162, cellular telephone         networks, mobile data networks, other wide area networks, local         area networks, metropolitan area networks, and so on;     -   a database 614 that includes the following data:         -   air pressure information 616 (e.g., received from air             pressure data modules 534 in respective devices 204, FIG.             5);         -   image/video information 618 (e.g., received from image/video             capture modules 530 in respective smart devices 204, FIG.             5); and/or         -   audio information 619 (e.g., received from audio input             modules 532 in respective smart devices 204, FIG. 5);     -   one or more application modules 622, including the following         modules (or sets of instructions), or a subset or superset         thereof:         -   a door/window state determination module 624 for determining             the state of operation of doors and/or windows in the             structure 150 (e.g., based on the air pressure information             616 in the database 614);         -   an open door/window notification module 625 for sending             notifications to a user when a door or window is determined             to be open;         -   a configuration module 626 to set the smart home environment             100 to any one of multiple configurations, automatically             based at least on air/atmospheric pressure and/or changes to             air/atmospheric pressure, and/or manually based on a user             command;         -   a configuration notification module 628 to send             notifications to a user when a configuration of the smart             home environment 100 is set; and/or         -   configuration data 630 to store data corresponding to             respective configurations (e.g., a first configuration             630-1, a second configuration 630-2, and so on), including             which respective configuration is the currently set             configuration, criteria or thresholds for activating a             respective configuration, and settings and operations             associated with a respective configuration (e.g., turning on             or off the HVAC system 103, setting the HVAC system 103 or             smart thermostat 102 to a specified temperature, enabling             alarms or sensors for security monitoring and alerts,             sending a notification, etc.).

In some embodiments, the computer system 600 includes one or more of: air pressure sensor 522 and/or one or more other sensors (e.g., image/video capture device 524, motion sensor, etc.) and their respective corresponding modules (e.g., air pressure data module 534, image/video capture module 530, a motion data module, etc.).

Each of the above identified modules and applications of FIGS. 5-6 corresponds to a set of executable instructions for performing one or more functions described above and the methods described in this application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules are, optionally, combined or otherwise re-arranged in various embodiments. In some embodiments, memory 506 and/or 606 store a subset of the modules and data structures identified above. Furthermore, memory 506 and/or 606 optionally store additional modules and data structures not described above.

Attention is now directed towards embodiments of graphical user interfaces (“UI”) and associated processes that may be implemented on an electronic device to present notifications that a door or window is determined to be open or that a configuration has been set, and allow a user to respond to the notifications.

FIGS. 7A-7B illustrates an exemplary GUI 704 displayed on a screen 702 of a portable electronic device 166 (or other computing system, such as a smart device 204) in accordance with some embodiments. The GUI 704 illustrates aspects of operations in the methods 800 (FIG. 8) and 900 (FIGS. 9A-9C). In some embodiments, the screen 702 is an example of a user interface 605 (FIG. 6). In some embodiments, the screen 702 is an example of a display 512 (FIG. 5) of a smart device 204. In some embodiments, the GUI 704 is generated based on information from a computing system 600 (FIG. 6).

In FIG. 7A, the GUI 704 displays a configuration set notification 706, which in this example indicates that the controller (i.e., a controller device for the smart home environment 100) has been set to a configuration, among multiple configurations, named “Open” that corresponds to a configuration that accounts for one or more open doors and/or windows in the structure 150. The GUI 704 also presents user-interface elements 708 and/or 710 that allow the user to acknowledge and dismiss the configuration notification 706 and/or to activate a user interface to manually set a configuration and/or change related settings. Selection of the element 708 (e.g., through an appropriate gesture on the screen 702, such as a tap) dismisses the configuration notification 706 and indicates that the user acknowledges the setting of the configuration. Selection of the element 710 dismisses the configuration notification 706 and activates a user interface (not shown) for manually setting a configuration and/or changing related settings, thus giving the user an opportunity to override the setting of the configuration as indicated by the notification 706 by setting another configuration and/or customizing the settings set in accordance with the configuration.

In FIG. 7B, the GUI 704 displays an open door/window notification 712, which in this example indicates that a window in the dining room is determined to be open. The GUI 704 also presents user-interface elements 714, 716, and/or 718 that allow the user to acknowledge and dismiss the open door/window notification 712 and/or to perform additional operations. Selection of the element 714 (e.g., through an appropriate gesture on the screen 702, such as a tap) dismisses the open door/window notification 712 and indicates that the user acknowledges the open door/window. Selection of the element 716 dismisses the open door/window notification 712 and activates the sounding of an alarm at the structure 150. Selection of the element 718 dismisses the open door/window notification 712 and activates display of a video feed of the vicinity of the open window, captured by a video capture device (e.g., camera 118), on screen 702.

FIG. 8 is a flow diagram illustrating a method 800 of setting a configuration of a smart home controller in accordance with some embodiments. Respective portions of the method 800 are performed by smart devices 204 (FIGS. 2, 5) and a computing system 600 (FIG. 6). The method 800 corresponds to instructions stored in one or more non-transitory computer-readable storage media. For example, the portions performed by smart devices 204 correspond to instructions stored in memory 506 (FIG. 5) and the portions performed by the computing system 600 correspond to instructions stored in the memory 606 (FIG. 6). Examples and details of the portion of the method 800 performed by the computing system 600 are provided below in the method 900 (FIGS. 9A-9C).

One or more air pressure sensors (e.g., smart barometers 172) send (802) air pressure data for a dwelling (e.g., structure 150) of a user. The computing system 600 receives (804) this data and determines state of operation of a door or a window of the structure 150.

The computing system 600 determines (806) a configuration of a controller for the dwelling, based at least in part on the determined state of operation of the door or window. A respective configuration takes into account a respective state of operation of the door or window.

In accordance with a determination that the door or window is open, the computer system 600 sets or sends instructions to set (808) a configuration of the controller for the dwelling to a first configuration. The first configuration takes into account the open door or window. Thus, settings and/or operations associated with the first configuration may include, for example, shutting off the HVAC system (e.g., HVAC system 103), setting the HVAC system to a specified temperature, sending an open door/window notification, and so on.

In accordance with a determination that the door or window is closed, the computer system 600 sets or sends instructions to set (810) a configuration of the controller for the dwelling to a second configuration distinct from the first configuration. The second configuration takes into account the closed door or window. Thus, settings and/or operations associated with the first configuration may include, for example, setting the HVAC system to a specified temperature different than the temperature set for the first configuration, arming sensors in the dwelling to actively monitor for intruders, and so on.

FIGS. 9A-9C are flow diagrams illustrating a method 900 of setting a configuration of a smart home controller in accordance with some embodiments. The method 900 is performed by a computing system 600 (FIG. 6) and corresponds to instructions stored in a non-transitory computer-readable storage medium (e.g., memory 606, FIG. 6).

The computer system 600 receives (902) air pressure data from one or more air pressure sensors in a dwelling of a user. For example, the one or more smart barometers 172 in the structure 150 sends their air pressure data to the computer system 600.

The computer system 600 determines (904), based at least in part on the received air pressure data, a state of operation of a door or window in the dwelling (e.g., determining whether the door/window is open or closed). For example, the computer system 600 determines whether one or more doors and/or windows in specified rooms (e.g., master bedroom, living room, all rooms on the ground floor, etc.) are respectively open or closed. In some embodiments, the computer system 600 determines a configuration for a controller for the dwelling (e.g., a smart home controller), based at least in part on the state of operation of the door or window determined from the received air pressure data.

In accordance with a determination that the door or window is open, the computer system 600 sets or sends instructions to set (906) a configuration of a controller for the dwelling to a first configuration (e.g., setting a mode or state of a smart home controller for the dwelling), the first configuration taking into account the open door or window (e.g., the first configuration is automatically set based at least in part on the determination that the door or window is open).

In accordance with a determination that the door or window is closed, the computer system 600 sets or sends instructions to set (908) the configuration of the controller for the dwelling to a second configuration, distinct from the first configuration, the second configuration taking into account the closed door or window (e.g., the second configuration is automatically set based at least in part on the determination that the door or window is closed).

Thus, the proper configuration of a controller for a dwelling can be determined and set in response to detection of air pressure changes in the dwelling that indicate whether a door or window is open or closed, without the user needing to explicitly request the first configuration or the second configuration. For example, the user does not need to input a request for a particular configuration via a keypad for the controller. For example, the user does not need to input a request for a particular configuration via a smart-home-control application on a smart phone, tablet, or other portable computing device that communicates with the controller.

In some embodiments, the computer system 600 sends a notification to the user (e.g., notification 706, FIG. 7A) when the computer system 600 automatically sets the first or second configuration as described above.

In some embodiments, the air pressure data from one or more air pressure sensors in the dwelling of the user is received while a fan in an HVAC system (e.g., HVAC system 103) for the dwelling is running (910).

In some embodiments, determining the state of operation of the door or window in the dwelling is based on (912) air pressure data received from a single air pressure sensor in a room that includes the door or window (e.g., the increase in pressure in the room that is detected when a fan in the HVAC system 103 is turned on is greater when the door/window is closed than when the door/window is open).

In some embodiments, determining the state of operation of the door or window in the dwelling is based on (914) air pressure data received from two air pressure sensors in two adjacent rooms, the door or window being between the two adjacent rooms (e.g., adjacent rooms have a larger difference in air pressures when the door/window between the adjacent rooms is closed than when the door/window between the adjacent rooms is open).

In some embodiments, determining the state of operation of the door or window in the dwelling is based on (916) air pressure data received from an air pressure sensor in a room that includes the door or window and air pressure data received from an air pressure sensor in a room in the dwelling that does not include the door or window (e.g., for a room with an exterior window or door, there is a larger difference in air pressure with a room that does not have an exterior window or door when the exterior window or door is open than when the exterior window or door is closed, particularly when a fan in the HVAC system 103 is on).

In some embodiments, determining the state of operation of the door or window in the dwelling is based on (918) air pressure data received from an air pressure sensor in a room that includes the door or window and air pressure data received from an air pressure sensor outside the dwelling (e.g., for a room with an exterior window or door, there is a smaller difference in air pressure with the air pressure immediately outside the dwelling when the exterior window or door is open than when the exterior window or door is closed, particularly when a fan in the HVAC system 103 is on).

In accordance with a determination that the door or window is open, the computer system 600 initiates sending (920) a notification that the door or window is open (e.g., initiating sending an instant message, text message, and/or email to one or more occupants of the dwelling or a third party (e.g., a caregiver for someone in the dwelling or a home security provider) that indicates that the door or window is open). When the computer system 600 determines that a door or window is open, the computer system 600 sends a notification (e.g., notification 712, FIG. 7B) to the user to inform the user of the open door/window.

In some embodiments, the first configuration and the second configuration configure operation of a heating, ventilation, and air conditioning (HVAC) system for the dwelling (922). The first and second configurations (e.g., configurations 550-1 and 550-2), for example, configure operation of HVAC system 103 and optionally control operation of smart thermostats 102.

In some embodiments, the first configuration sets a set point temperature for a zone in the dwelling that includes the door or window to a first temperature and the second configuration sets the set point temperature for the zone in the dwelling that includes the door or window to a second temperature, distinct from the first temperature (924). In some embodiments, the dwelling has a single zone for the HVAC system 103. In some embodiments, the dwelling has two or more zones for the HVAC system 103. For example, the smart thermostat 102 for the zone where the door or window is located is set by the computer system 600 in accordance with the set configuration.

In some embodiments, the first temperature is greater than the second temperature when the HVAC system is cooling the dwelling (926). In some embodiments, when the HVAC system is cooling the dwelling, to reduce energy consumption, the first configuration has a higher set point temperature than the second configuration for a zone in the dwelling that includes the open door or window.

In some embodiments, the first temperature is less than the second temperature when the HVAC system is heating the dwelling (928). In some embodiments, when the HVAC system is heating the dwelling, to reduce energy consumption, the first configuration has a lower set point temperature than the second configuration for a zone in the dwelling that includes the open door or window.

In some embodiments, the first configuration shuts off the HVAC system for a zone in the dwelling that includes the door or window and the second configuration sets a set point temperature for the zone in the dwelling that includes the door or window (930). In some embodiments, to reduce energy consumption, the first configuration shuts off heating or cooling (e.g., shut off the HVAC system 103) to a zone in the dwelling that includes the open door or window, while the second configuration provides heating or cooling (e.g., turn or leave on the HVAC system 103) to a zone in the dwelling that includes the closed door or window.

In some embodiments, the first configuration and the second configuration configure operation of a security system for the dwelling (932). For example, the computer system 600 configures security settings for the structure 150 based on whether the door or window is open or closed.

In some embodiments, the first configuration is an alarm mode (e.g., a mode that provides an alarm in response to detecting that the door or window is open) and the second configuration is an armed mode, distinct from the alarm mode (e.g., a mode that has one or more sensors for the security system enabled, to actively monitor for intrusion of the dwelling) (934). For example, in the armed mode, sensors (e.g., camera 118, motions sensors, etc.) are set at a heightened state of alert and monitor for intruders.

In some embodiments, the first configuration disables an alarm that is set off in response to the door or window being opened and the second configuration foregoes disabling the alarm that is set off in response to the door or window being opened (936). For example, the computer system 600 disables alarms set off in response to the opening of a door or window in the structure 150 when there is already an open door or window in the structure 150, and does not disable or shut off the alarm in response to the opening of a door or window in the structure 150 when there is no door or window in the structure 150 that is already open.

In some embodiments, the first configuration and the second configuration configure operation of a heating, ventilation, and air conditioning (HVAC) system and operation of a security system for the dwelling (938). In some embodiments, in response to determining the state of the door or window, control of both an HVAC system 103 and a security system are automatically configured.

It should be appreciated that the configurations above and operations and settings (e.g., shut off or turn on HVAC, send notification, specified temperatures, etc.) associated with a respective configuration are merely exemplary. Other configurations in addition to those described above and other settings and operations are possible.

In some embodiments, a housing that contains the computer system also contains one of the air pressure sensors in the dwelling (940). For example, the computer system 600 and a smart barometer 172 are contained in the same housing.

In some embodiments, the computer system is the controller (942). For example, the computer system 600 also serves as the smart home controller.

In some embodiments, the computer system is located in a smart home provider server system remote from the dwelling (944). For example, the computer system 600 is located at the smart home provider server system 164.

For situations in which the systems discussed above collect information about users, the users may be provided with an opportunity to opt in/out of programs or features that may collect personal information (e.g., information about a user's preferences or usage of a smart device). In addition, in some embodiments, certain data may be anonymized in one or more ways before it is stored or used, so that personally identifiable information is removed. For example, a user's identity may be anonymized so that the personally identifiable information cannot be determined for or associated with the user, and so that user preferences or user interactions are generalized (for example, generalized based on user demographics) rather than associated with a particular user.

Although some of various drawings illustrate a number of logical stages in a particular order, stages that are not order dependent may be reordered and other stages may be combined or broken out. While some reordering or other groupings are specifically mentioned, others will be obvious to those of ordinary skill in the art, so the ordering and groupings presented herein are not an exhaustive list of alternatives. Moreover, it should be recognized that the stages could be implemented in hardware, firmware, software or any combination thereof.

The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the scope of the claims to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen in order to best explain the principles underlying the claims and their practical applications, to thereby enable others skilled in the art to best use the embodiments with various modifications as are suited to the particular uses contemplated. 

What is claimed is:
 1. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer system, cause the computer system to: receive air pressure data from a plurality of air pressure sensors in a dwelling of a user, the plurality of air pressure sensors configured in one or more configurations including a first configuration and a sensor configuration, wherein: the first configuration comprises a first air pressure sensor in a first room of the dwelling and a second air pressure sensor in a second room of the dwelling, wherein the first air pressure sensor provides first air pressure data, the second air pressure sensor provides second air pressure data, the first room and the second room are adjacent with an interior door or window between the first room and the second room, and the second room further includes an exterior door or window in the dwelling; and the second configuration comprises the second air pressure sensor and a third air pressure sensor located outside the dwelling, wherein the third air pressure sensor provides third air pressure data; determine, based at least in part on a first air pressure difference between the first air pressure data and the second air pressure data, a state of operation of the interior door or window, wherein the first air pressure difference is larger when the interior door or window is closed than when the interior door or window is open; determine, based at least in part on a second air pressure difference between the second air pressure data and the third air pressure data, a state of operation of the exterior door or window, wherein the second air pressure difference is larger when the exterior door or window is closed than when the exterior door or window is open; in accordance with a determination, based at least in part on the first air pressure difference, that the interior door or window is open, set a controller configuration of a controller for the dwelling to a first controller configuration, wherein the first controller configuration configures a first function for a heating, ventilation, and air conditioning (HVAC) system for the dwelling, and the first controller configuration takes into account the open interior door or window; in accordance with a determination, based at least in part on the first air pressure difference, that the interior door or window is closed, set the controller configuration to a second controller configuration, wherein the second controller configuration configures a second function for the HVAC system, and the second controller configuration takes into account the closed interior door or window; in accordance with a determination, based at least in part on the second air pressure difference, that the exterior door or window is open, set the controller configuration to a third controller configuration, wherein the third controller configuration configures a third function of a security system for the dwelling and a fourth function for the HVAC system, and the third controller configuration takes into account the open exterior door or window; and, in accordance with a determination, based at least in part on the second air pressure difference, that the exterior door or window is closed, set the controller configuration to a fourth controller configuration, wherein the fourth controller configuration configures a fifth function of the security system and a sixth function for the HVAC system, and the fourth controller configuration takes into account the closed exterior door or window.
 2. The non-transitory computer readable storage medium of claim 1, further comprising instructions, which when executed by the computer system, cause the computer system to: determine a state of operation of a third door or window in the dwelling is based on fourth air pressure data received from a single air pressure sensor in a room that includes the third door or window.
 3. The non-transitory computer readable storage medium of claim 1, further comprising instructions, which when executed by the computer system, cause the computer system to: determine a state of operation of a fourth door or window in the dwelling is based on fifth air pressure data received from a fourth air pressure sensor in a third room that includes the fourth door or window and sixth air pressure data received from a fifth air pressure sensor in a fourth room in the dwelling that does not include the fourth door or window.
 4. The non-transitory computer readable storage medium of claim 1, wherein the air pressure data from the plurality of air pressure sensors in the dwelling of the user is received while a fan in the HVAC system for the dwelling is running.
 5. The non-transitory computer readable storage medium of claim 1, wherein the first controller configuration sets a set point temperature for a zone in the dwelling that includes the interior door or window to a first temperature and the second controller configuration sets the set point temperature for the zone in the dwelling that includes the interior door or window to a second temperature, distinct from the first temperature.
 6. The non-transitory computer readable storage medium of claim 5, wherein the first temperature is greater than the second temperature when the HVAC system is cooling the dwelling.
 7. The non-transitory computer readable storage medium of claim 5, wherein the first temperature is less than the second temperature when the HVAC system is heating the dwelling.
 8. The non-transitory computer readable storage medium of claim 1, wherein the first controller configuration shuts off the HVAC system for a zone in the dwelling that includes the interior door or window and the second controller configuration sets a set point temperature for the zone in the dwelling that includes the interior door or window.
 9. The non-transitory computer readable storage medium of claim 1, wherein the third function is an alarm mode and the fifth function is an armed mode, distinct from the alarm mode.
 10. The non-transitory computer readable storage medium of claim 1, wherein the third function disables an alarm that is set off in response to the exterior door or window being opened and the fifth function foregoes disabling the alarm that is set off in response to the exterior door or window being opened.
 11. The non-transitory computer readable storage medium of claim 1, including instructions, which when executed by the computer system, cause the computer system to: in accordance with a determination that the exterior door or window is open, initiate sending a notification that the exterior door or window is open.
 12. The non-transitory computer readable storage medium of claim 1, wherein a housing that contains the computer system also contains one of the plurality of air pressure sensors in the dwelling.
 13. The non-transitory computer readable storage medium of claim 1, wherein the computer system is the controller.
 14. The non-transitory computer readable storage medium of claim 1, wherein the computer system is located in a smart home provider server system remote from the dwelling.
 15. A computer system, comprising: one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: receiving air pressure data from a plurality of air pressure sensors in a dwelling of a user, the plurality of air pressure sensors configured in one or more configurations including a first configuration and a sensor configuration, wherein: the first configuration comprises a first air pressure sensor in a first room of the dwelling and a second air pressure sensor in a second room of the dwelling, wherein the first air pressure sensor provides first air pressure data, the second air pressure sensor provides second air pressure data, the first room and the second room are adjacent with an interior door or window between the first room and the second room, and the second room further includes an exterior door or window in the dwelling; and the second configuration comprises the second air pressure sensor in the second room and a third air pressure sensor located outside the dwelling, wherein the third air pressure sensor provides third air pressure data; determining, based at least in part on a first air pressure difference between the first air pressure data and the second air pressure data, a state of operation of the interior door or window, wherein the first air pressure difference is larger when the interior door or window is closed than when the interior door or window is open; determining, based at least in part on a second air pressure difference between the second air pressure data and the third air pressure data, a state of operation of the exterior door or window, wherein the second air pressure difference is larger when the exterior door or window is closed than when the exterior door or window is open; in accordance with a determination, based at least in part on the first air pressure difference, that the interior door or window is open, set a controller configuration of a controller for the dwelling to a first controller configuration, wherein the first controller configuration configures a first function for a heating, ventilation, and air conditioning (HVAC) system for the dwelling, and the first controller configuration takes into account the open interior door or window; in accordance with a determination, based at least in part on the first air pressure difference, that the interior door or window is closed, set the controller configuration to a second controller configuration, wherein the second controller configuration configures a second function for the HVAC system, and the second controller configuration takes into account the closed interior door or window; in accordance with a determination, based at least in part on the second air pressure difference, that the exterior door or window is open, set the controller configuration to a third controller configuration, wherein the third controller configuration configures a third function of a security system for the dwelling and a fourth function for the HVAC system, and the third controller configuration takes into account the open exterior door or window; and, in accordance with a determination, based at least in part on the second air pressure difference, that the exterior door or window is closed, set the controller configuration to a fourth controller configuration, wherein the fourth controller configuration configures a fifth function of the security system and a sixth function for the HVAC system, and the fourth controller configuration takes into account the closed exterior door or window.
 16. A method, comprising: at a computer system with one or more processors and memory: receiving air pressure data from a plurality of air pressure sensors in a dwelling of a user, the plurality of air pressure sensors configured in one or more configurations including a first configuration and a sensor configuration, wherein: the first configuration comprises a first air pressure sensor in a first room of the dwelling and a second air pressure sensor in a second room of the dwelling, wherein the first air pressure sensor provides first air pressure data, the second air pressure sensor provides second air pressure data, the first room and the second room are adjacent with an interior door or window between the first room and the second room, and the second room further includes an exterior door or window in the dwelling; and the second configuration comprises the second air pressure sensor in the second room and a third air pressure sensor located outside the dwelling, wherein the third air pressure sensor provides third air pressure data; determining, based at least in part on a first air pressure difference between the first air pressure data and the second air pressure data, a state of operation of the interior door or window, wherein the first air pressure difference is larger when the interior door or window is closed than when the interior door or window is open; determining, based at least in part on a second air pressure difference between the second air pressure data and the third air pressure data, a state of operation of the exterior door or window, wherein the second air pressure difference is larger when the exterior door or window is closed than when the exterior door or window is open; in accordance with a determination, based at least in part on the first air pressure difference, that the interior door or window is open, set a controller configuration of a controller for the dwelling to a first controller configuration, wherein the first controller configuration configures a first function for a heating, ventilation, and air conditioning (HVAC) system for the dwelling, and the first controller configuration takes into account the open interior door or window; in accordance with a determination, based at least in part on the first air pressure difference, that the interior door or window is closed, set the controller configuration to a second controller configuration, wherein the second controller configuration configures a second function for the HVAC system, and the second controller configuration takes into account the closed interior door or window; in accordance with a determination, based at least in part on the second air pressure difference, that the exterior door or window is open, set the controller configuration to a third controller configuration, wherein the third controller configuration configures a third function of a security system for the dwelling and a fourth function for the HVAC system, and the third controller configuration takes into account the open exterior door or window; and, in accordance with a determination, based at least in part on the second air pressure difference, that the exterior door or window is closed, set the controller configuration to a fourth controller configuration, wherein the fourth controller configuration configures a fifth function of the security system and a sixth function for the HVAC system, and the fourth controller configuration takes into account the closed exterior door or window.
 17. The non-transitory computer readable storage medium of claim 1, wherein both the HVAC system and the security system are automatically configured in response to determining, based at least in part on the second air pressure difference, the state of operation of the exterior door or window. 